home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9207.ZIP
/
AVKCAPT.ZIP
/
BITFLAGS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-11
|
654b
|
26 lines
//-------------------------------------------------------------------------
// ActionMedia II Programmer's Toolkit
//
// Windows Motion Player Sample Program
//
//Header Name: bitflags.h
//
//Description: header file with macros to manipulate bits in a char array.
//
// Copyright Intel Corp. 1991, 1992
// All Rights Reserved.
//
//-------------------------------------------------------------------------
#ifndef BITFLAGS_H
#define BITFLAGS_H
#define TestFlag(x, y) ( (x) & (y) )
#define SetFlag(x, y) ( (x) |= (y) )
#define ClearFlag(x, y) ( (x) &= ~(y) )
#define FlipFlag(x, y) ( (x) ^= (y) )
#endif